home *** CD-ROM | disk | FTP | other *** search
Java Source | 1997-02-27 | 784 b | 38 lines | [TEXT/CWIE] |
- /* SK8 © 1997 Apple Computer, Inc.
- This code is protected under the current SK8 License
- See http://sk8.research.apple.com/ for more information
- Apple Research Laboratories
- */
- import java.awt.*;
- import java.applet.Applet;
- import java.util.Random;
-
- // This code is to be used by a graphical applets.
- public class SK8InJava extends Applet {
-
- public void init()
- {
- sk8.currentApplet = this;
-
- stagecanvas p;
- setLayout( new BorderLayout() );
-
-
- p = new stagecanvas();
- add( "Center", p );
- sk8.stage = p.stageActor;
-
- // run project setup
- // replace the following with your projects
- // static function for setting up it's globals.
- sk8concentration.setup();
-
- //and draw it
- p.repaint();
- }
-
- public static void main(String args[]) {
-
- }
-
- }